package com.dsjy.yf.address.entity.dataobject;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author whj
 * @version 1.0
 * @date 2021-01-20 11:40
 */
@Data
@TableName("yardroad")
public class YardRoadDO implements Serializable {
    private static final long serialVersionUID = 6103453514494170171L;
    @TableId("id")
    private Integer id;
    private String yardroadName;
    private Integer parentCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;
    @JsonIgnore
    private Boolean added;
    @JsonIgnore
    private Boolean deleted;
}
